package ch06.sz2;



public class Hzw {

    private String hzw;

    public Hzw() {
    }

    // 构造函数用于接收注入的值
    public void Hzw(String hzw) {
        this.hzw = hzw;
    }

    public String getHzw() {
        return "路飞: " + hzw;
    }

    public void setHzw(String hzw) {
        this.hzw = hzw;
    }

    @Override
    public String toString() {
        return getHzw();
    }
}
